package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.SentMessages;
import com.example.mall.dto.SentMessagesDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.SentMessagesQuery;

import java.util.List;


/**
 * <p>
 * 发送消息表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface ISentMessagesService extends IService<SentMessages> {

    //分页查询
    PageDTO<SentMessagesDto> queryPage(SentMessagesQuery sentMessagesQuery);

    //根据id查询
    SentMessages querySentMessagesById(Long sentId);

    //查询所有
    List<SentMessages> querySentMessagesList();

    //新增
    void insert(SentMessagesDto sentMessagesDto);

    //修改
    void update(SentMessagesDto sentMessagesDto);

    //删除
    void delete(Long sentId);

    //批量删除
    void deleteBatch(List<Long> sentIds);
}
